/* 
 * jxListFiles Project (2013, 2014)
 * 
 * by Denilson Edinaldo Pinto
 * 
 * GPL
 * Copyright (C) 2014
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */
package org.jxListFiles.i18n;

import org.jxUtils.i18n.Localizator;

import java.util.Locale;

/**
 * @author Denilson Edinaldo Pinto
 * @porject jxListFiles
 * @package org.jxListFiles.i18n
 * @date 23/04/2014 - 11:19:27
 */
public final class ListFilesMessages extends Localizator {
	
	static final String PACKAGE_NAME = ListFilesMessages.class.getPackage().getName();
	
	private static final String CLASS_NAME = ListFilesMessages.class.getSimpleName().replace("Messages", "");
	
	/**
	 * 
	 */
	public ListFilesMessages() {
	
		this(Locale.getDefault());
	}
	
	/**
	 * @param locale
	 */
	public ListFilesMessages(Locale locale) {
	
		super(PACKAGE_NAME + ".messages." + CLASS_NAME, locale);
	}
	
	/**
	 * @return i18n message
	 */
	public String closedList() {
	
		return getMessage("closed.list");
	}
	
	/**
	 * @return i18n message
	 */
	public String newProject() {
	
		return getMessage("new.project");
	}
}
